package com.zhoujian.Proxy.CacheProxy;

public class Main {
    public static void main(String[] args) {
        DataQuery dataQuery = new DatabaseDataQueryProxy();

        String value = dataQuery.query("key1");
        System.out.println(value);
        value = dataQuery.query("key1");
        System.out.println(value);
        value = dataQuery.query("key3");
        System.out.println(value);
    }
}
